package com.light.model;

import javafx.beans.property.SimpleBooleanProperty;
import javafx.beans.property.SimpleDoubleProperty;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleStringProperty;

public record GitProject(SimpleIntegerProperty id,
                         SimpleStringProperty name,
                         SimpleStringProperty author,
                         SimpleStringProperty branch,
                         String createTime,
                         SimpleStringProperty updateTime,
                         String remote,
                         SimpleStringProperty local,
                         SimpleStringProperty description,
                         SimpleStringProperty remark,
                         SimpleIntegerProperty level,
                         SimpleDoubleProperty downloadRate,
                         SimpleBooleanProperty selected) {

    @Override
    public String toString() {
        return name.get();
    }
}
